part of 'monthly_package_transfer_cubit.dart';

sealed class MonthlyPackageTransferState extends Equatable {
  const MonthlyPackageTransferState();
}

final class MonthlyPackageTransferInitial extends MonthlyPackageTransferState {
  @override
  List<Object> get props => [];
}

// 刷新页面
final class MonthlyPackageTransferRefreshing extends MonthlyPackageTransferState {

  final dynamic timestamp;
  const MonthlyPackageTransferRefreshing({required this.timestamp});
  @override
  List<Object> get props => [timestamp];
}


final class MonthlyPackageTransferDataLoading extends MonthlyPackageTransferState {
  @override
  List<Object> get props => [];
}

final class MonthlyPackageTransferDataSuccessState extends MonthlyPackageTransferState {
  final List<MonthlyPackageTransferBean> monthlyPackageTransferData;
  MonthlyPackageTransferDataSuccessState({required this.monthlyPackageTransferData});
  @override
  List<Object> get props => [monthlyPackageTransferData];
}

final class MonthlyPackageTransferDataFailureState extends MonthlyPackageTransferState {
  final String message;
  MonthlyPackageTransferDataFailureState({required this.message});
  @override
  List<Object> get props => [message];
}




final class MonthlyPackageTransferDeleteLoading extends MonthlyPackageTransferState {
  String monthlyPackageTransferId;
  MonthlyPackageTransferDeleteLoading({required this.monthlyPackageTransferId});
  @override
  List<Object> get props => [monthlyPackageTransferId];
}


final class MonthlyPackageTransferDeleteSuccessState extends MonthlyPackageTransferState {
  String monthlyPackageTransferId;
  MonthlyPackageTransferDeleteSuccessState({required this.monthlyPackageTransferId});
  @override
  List<Object> get props => [monthlyPackageTransferId];
}

final class MonthlyPackageTransferDeleteFailureState extends MonthlyPackageTransferState {
  String message;
  String monthlyPackageTransferId;

  MonthlyPackageTransferDeleteFailureState({required this.message, required this.monthlyPackageTransferId});

  @override
  List<Object> get props => [ message,monthlyPackageTransferId];
}


final class MonthlyPackageTransferSaveLoading extends MonthlyPackageTransferState {
  MonthlyPackageTransferSaveLoading();
  @override
  List<Object> get props => [];
}

final class MonthlyPackageTransferSaveSuccessState extends MonthlyPackageTransferState {
  final List<MonthlyPackageTransferBean> monthlyPackageTransferData;

  MonthlyPackageTransferSaveSuccessState({required this.monthlyPackageTransferData});
  @override
  List<Object> get props => [monthlyPackageTransferData];
}

final class MonthlyPackageTransferSearchCustomerLoading extends MonthlyPackageTransferState {
  final String customerNo;
  const MonthlyPackageTransferSearchCustomerLoading({required this.customerNo});
  @override
  List<Object> get props => [customerNo];
}

final class MonthlyPackageTransferSearchCustomerSuccessState extends MonthlyPackageTransferState {
  final CustomerBean customerBean;
  final String customerNo;
  const MonthlyPackageTransferSearchCustomerSuccessState({required this.customerBean, required this.customerNo});
  @override
  List<Object> get props => [customerBean, customerNo];
}

